OBJ =main.o menu.o leaderBoard.o drawBlock.o blockOperation.o game.o
CXXFLAGS=-Wall
PKGCONF=`pkg-config --cflags --libs allegro-5.0 allegro_acodec-5.0 allegro_audio-5.0 allegro_color-5.0 allegro_dialog-5.0 allegro_font-5.0 allegro_image-5.0 allegro_main-5.0 allegro_memfile-5.0 allegro_physfs-5.0 allegro_primitives-5.0 allegro_ttf-5.0`

Tetris: $(OBJ)
	g++ -o Tetris $(OBJ) $(PKGCONF)

-include dependencies

.PHONY: depend clean cleanall debug

debug_1:
	./Tetris 1

debug_2:
	./Tetris 2
debug_3:
	./Tetris 3
	
depend:
	g++ -MM *.cpp > dependencies

clean:
	rm *.o
	
cleanall:
	rm Tetris *.o

documentation:
	doxygen
